<%--
  Created by IntelliJ IDEA.
  User: 92460
  Date: 2020/12/14
  Time: 13:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    //打印输出sessionId的值
    out.print("sessionId："+session.getId());
    out.print("<br/>");
    //打印session中保存的值
    out.print("sessionId中保存的值："+session.getAttribute("session"));
%>
<a href="child.jsp">打开子窗口</a>
</body>
</html>
